package com.eleven.trades.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author linhaizeng
 */
@Data
public class FlowRequest {

    @NotBlank(message = "转出账户不能为空")
    private String accountSrc;

    @NotBlank(message = "转入账户不能为空")
    private String accountDest;

    @NotBlank(message = "转出用户姓名不能为空")
    private String nameSrc;

    @NotBlank(message = "转入用户姓名不能为空")
    private String nameDest;

    @NotBlank(message = "转出金额不能为空")
    private double balance;
}
